import Vue from 'vue'
import App from './App.vue'
import router from './router'
import "./assets/css/reset.css"
//引入element-ui
// import "./plugins/element/element.js"
import './assets/data.json'
import moment from 'moment'
Vue.filter('dateformat', function (dataStr, pattern = 'YYYY-MM-DD HH:mm:ss') {

  return moment(dataStr).format(pattern)

})

import TreeTable from 'vue-table-with-tree-grid'
// //导入vue-quill-editor（富文本编辑器）
// import VueQuillEditor from 'vue-quill-editor'
//导入vue-quill-editor的样式
// import 'quill/dist/quill.core.css'
// import 'quill/dist/quill.snow.css'
// import 'quill/dist/quill.bubble.css'
//全局注册富文本组件
Vue.use(VueQuillEditor)
//全局注册组件
Vue.component('tree-table', TreeTable)
Vue.config.productionTip = false


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
